package com.wetao.testrxjava.dagger;

import javax.inject.Singleton;

import dagger.Component;

@Singleton
@ScopeDagger1
@Component(modules=Dagger1ActivityModule.class)
public interface  Dagger1ActivityComponent {
    //inject方法的参数不能用父类来接收,例如本Demo中,如果inject的参数是Activity,那么Dagger2就会报错.
    void inject(Dagger1Activity dagger1Activity);
}
